package cn.lnl.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author LNL
 * @date 2021/8/29 16:59
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_timeOut(Integer id) {
        return "----PaymentFallbackService fall back,o(╥﹏╥)o，paymentInfo_timeOut";
    }

    @Override
    public String paymentInfo_Ok(Integer id) {
        return "----PaymentFallbackService fall back,o(╥﹏╥)o，paymentInfo_Ok";
    }
}
